package com.wcfsy.wechat.wx.service;

import java.util.Map;

import com.wcfsy.wechat.wx.entity.ActivityInfo;
import com.wcfsy.wechat.wx.pagination.IPage;

public interface IActivityInfoService {

	public IPage<ActivityInfo> queryActivityByPage(
			Map<String, Object> paramMap, int pageIndex, int pageSize);

	public void addActivity(ActivityInfo activity);

	public ActivityInfo getActivityById(int activityId);

	public int updateActivity(ActivityInfo activity);

	public ActivityInfo getActivityByCode(String code);
	
	
	public void deleteById(int id)throws Exception;
}
